class Agency < ActiveRecord::Base
  has_many :sites 
  has_many :users
  
  def self.find_ordered 
    find :all, :order => 'name' 
  end
  
  def self.find_for_select 
    select = find_ordered.collect { |record| [record.name, record.id] }
    select.insert(0, ["No Agency", ""])
  end
end
